<template>
  <div class="empty-container">
    <div class="empty-center">
      <Icon type="empty" />
      <p>{{ text }}</p>
    </div>
  </div>
</template>

<script>
import Icon from "@/components/Icon";
export default {
  components: { Icon },
  props: {
    text: {
      type: String,
      default: "无数据",
    },
  },
  data: () => ({}),
};
</script>

<style lang='less' scoped>
@import '~@/assets/style/mixin.less';
@import '~@/assets/style/var.less'; 
.empty-container {
  height: 100%;
  color: @gray;
  .flex-center();
  .empty-center {
    text-align: center;
    .icon-container{
        font-size: 60px;
        
    }
  }
}
</style>
